# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: tyr0 <thomas.hoernes@gmx.at>

pkgname=vbindiff
pkgver=3.0_beta5
pkgrel=2
pkgdesc="displays files in hexadecimal and ASCII (or EBCDIC) and highlight the differences between them"
arch=('loong64' 'x86_64')
url="https://www.cjmweb.net/vbindiff/"
license=('GPL')
depends=('gcc-libs' 'ncurses')
source=($url/$pkgname-$pkgver.tar.gz)
sha256sums=('f04da97de993caf8b068dcb57f9de5a4e7e9641dc6c47f79b60b8138259133b8')

build() {
  cd "$srcdir"/$pkgname-$pkgver
  ./configure --prefix="$pkgdir"/usr
  make
}

package() {
  cd "$srcdir"/$pkgname-$pkgver
  make install
}
